import { type App } from 'vue';
import ImageUpload from './index.vue';

const install = (app: App) => {
  const registered = app.component('ImageUpload');
  if (!registered) {
    app.component('ImageUpload', ImageUpload);
  }
};

export default install;
